package com.guoxin.builder.improve;

public class Client {
	public static void main(String[] args) {
		//盖普通房子
		CommonHouse commonHouse = new CommonHouse();
		HouseDirector director = new HouseDirector(commonHouse);
		director.constructHouse();
		
		System.out.println("----------");
		
		HighBuilding highBuilding = new HighBuilding();
		director.setHouseBuilder(highBuilding);
		director.constructHouse();
	}
}
